package com.xd.core.finance.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 预存款交易记录分页查询条件
 * </p>
 *
 * @author ZCH
 * @since 2025-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class KeepBookingDto implements Serializable {

    @ApiModelProperty(value = "实际还款金额")
    private String repayAmount;

    @ApiModelProperty(value = "还款凭证")
    private String repayVoucher;

    @ApiModelProperty(value = "实际还款日期")
    private String factEarlyDate;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "账单id")
    private Integer id;

    @ApiModelProperty(value = "债券id")
    private Integer debtId;

    @ApiModelProperty(value = "类型(0--每期账单,1--提前还款)")
    private String type;

    @ApiModelProperty(value = "本期应还本金")
    private BigDecimal principal;

    @ApiModelProperty(value = "应还本期利息")
    private BigDecimal interest;

    @ApiModelProperty(value = "剩余期数(不用传)")
    private Integer periods;

}
